package me.sdevil507.org.po;

import lombok.Data;
import lombok.EqualsAndHashCode;
import me.sdevil507.supports.jpa.BaseJpaSnowflakeIdAndAuditEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 邀请记录PO
 *
 * @author sdevil507
 * created on 2020/8/13
 */
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "biz_org_invite")
@Data
public class OrgInvitePo extends BaseJpaSnowflakeIdAndAuditEntity {

    /**
     * 真实姓名
     */
    @Column
    private String realName;

    /**
     * 手机号码
     */
    @Column
    private String phoneNumber;

    /**
     * 是否全职
     */
    @Column
    private Boolean fullTime;

    /**
     * 是否领军人物
     */
    @Column
    private Boolean leader;

    /**
     * 邀请类型(1.直接邀请注册,2.待邀请列表邀请注册,3.邀请加入智库机构)
     */
    @Column
    private int type;

    /**
     * 是否同意
     */
    @Column
    private Boolean agree;

    /**
     * 机构id
     */
    @Column
    private Long orgId;

    /**
     * 机构名称
     */
    @Column
    private String orgName;

    /**
     * 临时专家id
     */
    @Column
    private Long tempExpertId;
}
